<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<% String basePath = request.getContextPath(); %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<c:set var="ctx" value="${pageContext.request.contextPath}"/>


<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>国台会务系统</title>
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="<%=basePath%>/resources/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="<%=basePath%>/resources/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="<%=basePath%>/resources/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="<%=basePath%>/resources/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="<%=basePath%>/resources/assets/css/app.css">
    <link href="<%=basePath%>/resources/css/mui/mui.min.css" rel="stylesheet" />
    
    <script src="<%=basePath%>/resources/assets/js/jquery.min.js"></script>

</head>

<body data-type="login">
    <script src="<%=basePath%>/resources/assets/js/theme.js"></script>
    
      <div class="row">

        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title am-fl">添加议程信息</div>
                </div>
                
                <div class="widget-body am-fr">
                    <form class="am-form tpl-form-border-form tpl-form-border-br" enctype ="multipart/form-data" action="${ctx}/agenda/uploadeAgenda"  method="post" >
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">名称<span class="tpl-form-line-small-title"> name</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="userName" name ="agendaName" value="${agenda.agendaName}" placeholder="议程名">
                                <input type="hidden" class="tpl-form-input" id="" name ="agendaId" value="${agenda.agendaId}" placeholder="id">
                                <!-- <small>请填写标题文字10-20字左右。</small> -->
                            </div>
                        </div>
                      	
                      <%-- 	<div class="am-u-sm-12">
                           <figure data-am-widget="figure" class="am am-figure am-figure-default"   data-am-figure="{  pureview: 'true' }">
					      	   <img style="height: 60%;" src="${ctx}/${agenda.contentImg}" data-rel="${ctx}/${agenda.contentImg}" alt="议程图"/>
					           <figcaption class="am-figure-capition-btm">
					           	  ${agenda.agendaName}
					           </figcaption>
					       </figure>
                         </div>
                          --%>
                         <div class="am-form-group">
                              <label for="user-weibo" class="am-u-sm-3 am-form-label">议程图 <span class="tpl-form-line-small-title">Images</span></label>
                              <div class="am-u-sm-9">
                                  <!-- <div class="am-form-group am-form-file">
                                      <div class="tpl-form-file-img">
                                          <img src="assets/img/a5.png" alt="">
                                      </div>
                                      <button type="button" class="am-btn am-btn-danger am-btn-sm"><i class="am-icon-cloud-upload"></i>添加议程图</button>
                                      <input id="doc-form-file" type="file" multiple="">
                                      <input type="file" name="img" multiple="multiple" />
                                  </div> -->
                                  
                                  <input type="file" name="img" multiple="multiple" />
                              </div>
                          </div>
                        
                         <div class="am-form-group">
                             <div class="am-u-sm-9 am-u-sm-push-3">
                                 <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success">提交</button>
                             </div>
                         </div>
                     </form>
                 </div>
             </div>
         </div>
     </div>
    <script src="<%=basePath%>/resources/assets/js/amazeui.min.js"></script>
    <script src="<%=basePath%>/resources/assets/js/app.js"></script>
    
	<script src="<%=basePath%>/resources/js/mui/mui.min.js"></script>
	<script  src="<%=basePath%>/resources/js/jquery-1.9.0/jquery.min.js"></script>
    <script>
	    //退出登录功能
	    $("#logout").click(function(){
	    	 var btnArray = ['否', '是'];
	    	 mui.confirm('确定退出登录吗？', '提示', btnArray, function(e) {
	             if (e.index == 1) {
	            	 window.top.location.href = "${ctx}/userSystem/logOut";
	             }
	         })
	    })
	</script>

</body>
	
</html>
